home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / rff.helpmark < prev    next >
Text File  |  1991-10-23  |  6KB  |  130 lines

  1. +-----------------------------------------------------------------------------+
  2. |                              runningheadformat                              |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. \runningfootformat{
  6.   \bothpages{\vs{1\bl}
  7.                \line{\twelvept\rm\lft{}
  8.                          \ctr{}\rt{}}}
  9.   }
  10.  
  11. Abbreviation:  π|\rffπ%
  12.  
  13. Parameters:    π|submarkupπ%
  14.  
  15. Submarkup:     π|\bothpages, \evenpages, \oddpagesπ%
  16.  
  17.     π|Description:π%
  18. The \runningfootformat markup  provides running titles at  the bottom of all
  19. pages except the title page.   The default running bottom title for TEXT1 is
  20. blank.
  21.  
  22. \bothpages  is used to place the same running foot at the bottom of both the
  23. even and odd pages.   The \line markup defines a  single title line.  Within
  24. it, you  may center, left  align, or  right align text,  using the submarkup
  25. \ctr, \lft, or  \rt.  Besides \line, you may  also use markup such as \hrule
  26. and \verticalspace.
  27.  
  28. \evenpages   is used to  place the same running  foot at the  bottom of each
  29. even page.    The \line  markup defines  a single  title line.    Within it,
  30. you may center,  left align, or right align  text, using the submarkup \ctr,
  31. \lft, or  \rt.  Besides  \line, you may  also use markup such  as \hrule and
  32. \verticalspace.
  33.  
  34. \oddpages   is used  to place the  same running foot  at the  bottom of each
  35. odd page.   The \line  markup defines a single  title line.   Within it, you
  36. may  center, left  align, or  right align  text,  using the  submarkup \ctr,
  37. \lft, or  \rt.  Besides  \line, you may  also use markup such  as \hrule and
  38. \verticalspace.
  39.  
  40.     π|Example:π%
  41. This example  prints the date  and author's initials  at the  bottom of each
  42. page.
  43.  
  44. \runningfootformat{
  45.    \bothpages{\vs{18pt}
  46.               \line{\rm\lft{\today}\ctr{}\rt{JNP}}
  47.                }
  48.    }
  49.  
  50. which produces a running foot as illustrated on the next page.
  51.  
  52. +-----------------------------------------------------------------------------+
  53. |                                                                             |
  54. | January 13, 1987                                                       JNP  |
  55. |                                                                             |
  56. +-----------------------------------------------------------------------------+
  57.  
  58.     π|Example:π%
  59. This example illustrates the use of odd and even page layout with two lines.
  60. The page  number alternates sides so  that it appears on  the outside of the
  61. page.   The title appears  above the subtitle  on even pages.   The author's
  62. name appears above the journal name on odd pages.
  63.  
  64. \runningfootformat{
  65.   \evenpages{\line{\lft{\pagenumber}
  66.                         \rt{Sociogeology}}
  67.              \vs{2pt}}
  68.              \line{\rt{A New Science}}
  69.              \vs{\bl}}
  70.   \oddpages{\line{\lft{A. Chert}
  71.                       \rt{\pagenumber}}
  72.  
  73.             \vs{2pt}}
  74.             \line{\lft{SPP---UP}}
  75.             \vs{\bl}}
  76.   }
  77.  
  78. which produces on even page numbers a running foot that looks like:
  79.  
  80. +-----------------------------------------------------------------------------+
  81. |                                                                             |
  82. | 22                                                            Sociogeology  |
  83. |                                                              A New Science  |
  84. |                                                                             |
  85. +-----------------------------------------------------------------------------+
  86.  
  87. and produces on odd page numbers a running foot that looks like:
  88.  
  89. +-----------------------------------------------------------------------------+
  90. |                                                                             |
  91. | A. Chert                                                                11  |
  92. | SPP---UP                                                                    |
  93. |                                                                             |
  94. +-----------------------------------------------------------------------------+
  95.  
  96.     π|Notes:π%
  97. An empty \lft, \ctr, or \rt may be omitted as was done in the above example.
  98.     A construct such as,
  99.  
  100. \rff{\bothpages{
  101.          \line{\lft{page \pn}\ctr{\today}
  102.             \rt{PNW Waterfalls}}}}
  103.  
  104. will not print the date centered on the page:
  105.  
  106. +-----------------------------------------------------------------------------+
  107. |                                                                             |
  108. | page 7                   January 13, 1987                   PNW Waterfalls  |
  109. |                                                                             |
  110. +-----------------------------------------------------------------------------+
  111.  
  112. To accomplish this, you should  print the left and right justified text with
  113. \line, then space backwards one line (\verticalspace{-\bl}), then center the
  114. date:
  115.  
  116. \rff{\bothpages{\line{\lft{page \pn}
  117.  
  118.              \rt{PNW Waterfalls}}}
  119.           \vs{-\bl}
  120.           \line{\ctr{\today}}}
  121.  
  122. +-----------------------------------------------------------------------------+
  123. |                                                                             |
  124. | page 8                       January 13, 1987               PNW Waterfalls  |
  125. |                                                                             |
  126. +-----------------------------------------------------------------------------+
  127.  
  128.     The \runningfootformat markup must  come after the \monospace markup, if
  129. both are used.
  130.